/**************************************************************************//**
* @file     sys_uart.c
* @version  V1.00
* $Revision: 5 $
* $Date: 15/05/18 4:02p $
* @brief    NUC970 SYS UART driver source file
*
* @note
* Copyright (C) 2015 Nuvoton Technology Corp. All rights reserved.
*****************************************************************************/
#include <stdio.h>
#include <string.h>
#include "bsp_api.h"
#include "com_obj.h"

#define PT_NEW_LINE           0      //0-n , 1-\r\n , 2-\n\r

/*!
    \brief      put a char to port
*/
void __sys_put_ch(char ch)
{
      com.obj01.fun->cycle_snd_byte(ch);
}

/**
 * output for sys_kprintf
 */
void sys_hw_console_output(const char *str)
{
    /* empty console output */
    while(*str)
    {
        __sys_put_ch(*str++);
    }
}

/*!
    \brief      printf none
    \param[in]  none
    \param[out] none
    \retval     none
*/
void __printf_none(int8_t * pcStr,...)
{

}

/*** (C) COPYRIGHT 2015 Nuvoton Technology Corp. ***/
